package com.lengmou.entity;

public class GoodsComment {
    private int id;
    private int userid;
    private int goodsid;
    private String content;
    private int level;
    private String createtime;

    public GoodsComment() {
    }

    public GoodsComment(int id, int userid, int goodsid, String content, int level, String createtime) {
        this.id = id;
        this.userid = userid;
        this.goodsid = goodsid;
        this.content = content;
        this.level = level;
        this.createtime = createtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "GoodsComment{" +
                "id=" + id +
                ", userid=" + userid +
                ", goodsid=" + goodsid +
                ", content='" + content + '\'' +
                ", level=" + level +
                ", createtime='" + createtime + '\'' +
                '}';
    }
}
